package org.fhm.zdte.common.ability;

import org.fhm.zdte.common.pojo.Address;

/**
 * The interface implemented on both the client and the server side.
 * <p>The interface <b>IGetTargetAddress</b>'s implementation specifies how to obtain the target address by target identification.</p>
 *
 * @author 谭波
 * @since 2023/12/26
 */
public interface IGetTargetAddress {

    /**
     * Get the target address by the target identification
     *
     * @param target the target identification
     * @return address
     */
    Address getTargetAddress(String target);

}
